package com.example.demo.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the t_client_token database table.
 * 
 */
@Entity
@Table(name="t_client_token")
@NamedQuery(name="ClientToken.findAll", query="SELECT c FROM ClientToken c")
public class ClientToken implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="accesstokenjson")
	private String accessTokenJson;

	@Column(name="app_secret")
	private String appSecret;

	private String appid;

	private String corpid;

	private Long expire;

	private String name;

	private String token;

	public ClientToken() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccessTokenJson() {
		return this.accessTokenJson;
	}

	public void setAccessTokenJson(String accessTokenJson) {
		this.accessTokenJson = accessTokenJson;
	}

	public String getAppSecret() {
		return this.appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getAppid() {
		return this.appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getCorpid() {
		return this.corpid;
	}

	public void setCorpid(String corpid) {
		this.corpid = corpid;
	}

	public Long getExpire() {
		return this.expire;
	}

	public void setExpire(Long expire) {
		this.expire = expire;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getToken() {
		return this.token;
	}

	public void setToken(String token) {
		this.token = token;
	}

}